package com.tourism.core.common.exception;


import com.tourism.core.common.utils.ResultCodeEnum;

public class CustomException extends RuntimeException {

    public CustomException(String message) {
        super(message);
    }

    public CustomException(ResultCodeEnum resultCodeEnum) {
        super(resultCodeEnum.getMessage());
    }
}
